package com.lgy.service;

import com.github.pagehelper.PageInfo;
import com.lgy.pojo.Customer;

import java.util.List;

public interface ICustomerService {
    int deleteByPrimaryKey(Integer customerId);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer customerId);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    PageInfo findAllById(Integer companyId,Integer page,Integer pageSize);

    Customer findByPhone(String customerPhone,Integer companyId);
}
